import * as actionTypes from '../actionTypes'
const shopCartListReducer=(state={
    shopcartList:[]
},action)=>{
    switch(action.type){
        case actionTypes.GETSHOPCARTLIST:
          return{
            ...state,
            shopcartList:action.shopcartList
          }
        default:
            return state
    }
}
export default shopCartListReducer